<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>租客管理</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<!--标准mui.css-->
		<link rel="stylesheet" href="../css/mui.min.css">
		<link rel="stylesheet" href="../css/common.css" />
	</head>
	<style type="text/css">
		.mui-bar-nav .mui-icon{
			padding: 0;
			margin: 0;
			display: inline-block;
			line-height: 45px;
		}
		.mui-bar-nav .addPerson{
			font-size: 1.1rem;
		}
	</style>
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" id="firBack"></a>
			<h1 class="mui-title">租客管理</h1>
		</header>
		<div class="mui-content">
			<div class="tenna-item mui-clearfix"data-html="tenant.html">
				<span class="item-icon tennage"></span>
				<span class="item-name">租房</span>
				<span class="item-narrow"></span>
			</div>
			<div class="tenna-item mui-clearfix"data-html="vacation.html">
				<span class="item-icon varcation"></span>
				<span class="item-name">退房</span>
				<span class="item-narrow"></span>
			</div>
			<div class="tenna-item mui-clearfix" data-html="changeHouseList.html">
				<span class="item-icon roomChange"></span>
				<span class="item-name">换房</span>
				<span class="item-narrow"></span>
			</div>
			<div class="tenna-item mui-clearfix" data-html="statistics.html">
				<span class="item-icon statis"></span>
				<span class="item-name">房屋出租统计</span>
				<span class="item-narrow"></span>
			</div>
		</div>
		<script src="../js/mui.min.js"></script>
		<script src="../js/app.js"></script>
		<script src="../js/md5.js"></script>
		<script>
			mui.init({
				swipeBack:true //启用右滑关闭功能
			});
			var mobile = getUrlMobile("mobile");
			localStorage.setItem('mobile',mobile);
			mui('.mui-content').on('tap','.tenna-item',function(){
				var htmlRul = this.getAttribute("data-html");
				location.href = htmlRul;
			})
			//第一层页面自定义返回按钮操作
			document.getElementById("firBack").addEventListener('tap',function(){
				window.android.finish();
			})
		</script>
	</body>

</html>